/*
 * Copyright (c) 2011 Jean-Marc Perronne
 * Ensisa, 12 rue des Freres Lumieres, F-68093 Mulhouse cedex
 * All rights reserved.
 *
 * The copyright of this software is owned by Werner Randelshofer. 
 * You may not use, copy or modify this software, except in  
 * accordance with the license agreement you entered into with  
 * Jean-Marc Perronne. For details see accompanying license terms. 
 */

package fr.uha.ensisa.jmp.connexion_3d;

public class DeviceManager
{
	public native void discoverDevices(boolean overlapped);
	public native int devicesNbr();
	public native void clear();
	public native int[] devicesIDS();
	
	static
	{
			System.loadLibrary("jni");
	}

	private static DeviceManager instance = null;
	
	private DeviceManager()
	{}
	
	public static DeviceManager instance()
	{
		if (instance == null) instance = new DeviceManager();
		return instance;
	}
}
